package justplay

import (
	"errors"
	"fmt"
)

func StringDemo() {
	sqlStr := `go \sd`
	fmt.Println(sqlStr)
}

func StringDemo2() {
	sqlStr := "go"
	fmt.Println(sqlStr)
}

func op(a int) (result int, err error) {
	if a < 10 {
		return 0, errors.New("not ok")
	}
	return a * 2, nil
}

func op2(a int) (user *User, err error) {
	return
}

type User struct {
	Name string
	Age  uint8
}
